<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="text/javascript" src="./js/jquery.min.js"></script>

    <link rel="stylesheet" href="./styles/mui.min.css">
    <script type="text/javascript" src="./js/mui.min.js"></script>

    <script type="text/javascript" src="./js/dsbridge.min.js"></script>

    <link rel="stylesheet" href="./styles/style.css">
    <script type="text/javascript" src="./js/common.js"></script>
    <script>
        var length = 1;
        $(document).ready(function () {
            // 在这里编写你的代码
            console.log("文档加载完成");
            var p = getParams(document.URL);
            console.log(p);
            length = Object.keys(p).length;
        });
        function toFaq() {
            console.log(length);
            var p;
            if (length > 0) {
                p = '?q=xxx';
            }
            naviteNewPage('wap/faq.html', p);
        }
    </script>
</head>

<body>
    <header class="mui-bar" style="top: 0; background-color: white;">
        <a class="mui-icon mui-icon-left-nav mui-pull-left" href="javascript:void(0)" onclick="callNaviteBack()"></a>
        <a class="mui-icon mui-icon mui-icon-help mui-pull-right" href="javascript:void(0)"
            onclick="callNaviteTest()"></a>
        <h1 class="mui-title">过渡页面</h1>
    </header>
    <div style="background-color: white; margin-top: 44px;">
        <p>
            mui默认按钮为灰色，另外还提供了蓝色（blue）、绿色(green)、黄色(yellow)、红色(red)、紫色(purple)五种色系的按钮，五种色系对应五种场景，分别为primary、success、warning、danger、royal；使用.mui-btn类即可生成一个默认按钮，继续添加.mui-btn-颜色值或.mui-btn-场景可生成对应色系的按钮，例如：通过.mui-btn-blue或.mui-btn-primary均可生成蓝色按钮；
        </p>
        <button type="button" class="mui-btn" onclick="toFaq()">下一个页面</button>
    </div>
</body>

</html>